package cn.itsource.pet.mapper;

import cn.itsource.pet.domain.PetType;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PetTypeMapper extends Mapper<PetType> {

    @Select("select id,name,description,pid parentId from t_pet_type")
    List<PetType> selectPetTypes();
}
